/**
 * Created by thinkl on 2017/6/19.
 */
$(function () {
    var app_data = {
        send_list: [],
        send_over_list: [],
    };
    var app = new Vue({
        el: '#send_order_list',
        data: app_data,
        methods: {
            go_send_detail: function (order_id) {
                location.href = '/static/send-order-detail/send-order-detail.html?order_id=' + order_id
            }
        }
    });
    $.post('/send/query_send_order', {}, function (data) {
        var lst = JSON.parse(data);
        app_data.send_list = lst.result
    });
    $.post('/send/query_send_order_over', {}, function (data) {
        var lst = JSON.parse(data);
        app_data.send_over_list = lst.result
    });
});